Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(button): only use tooltipAlignment if button hasIconOnly #16169

Merged

Conversation

tay1orjones
Copy link
Member

Closes #16140

Changelog

New

  • Add a new test to cover this

Changed

  • Remove tooltipAlignment prop from the props spread onto ButtonBase

Testing / Reviewing

  • All tests should pass, storybook stories should be unaffected

Copy link

netlify bot commented Apr 10, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit 66b6c30
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/661e98fb20d1c500089ad33e
😎 Deploy Preview https://deploy-preview-16169--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tay1orjones tay1orjones requested review from tw15egan and removed request for andreancardona April 15, 2024 16:31
Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 ✅

@alisonjoseph alisonjoseph added this pull request to the merge queue Apr 16, 2024
Merged via the queue into carbon-design-system:main with commit b82d843 Apr 16, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: tooltipAlignment is being passed to DOM element incorrectly for Button component
3 participants